package com.geovis.emergency.spd.entity.basic.pojo.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * <p>
 * 基础管理模块-素材查询查询DTO
 * </p>
 *
 * @author 王响
 * @since 2022-03-12
 */
@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "BasicThirdPartyInterfaceQueryDTO对象", description = "基础管理模块-集成接口查询DTO")
public class BasicMaterialQueryDTO implements Serializable {

    @Length(max = 16, message = "类型最长不能超过{16}个字符")
    @ApiModelProperty("类型")
    private String type;

    @Length(max = 255, message = "类型最长不能超过{255}个字符")
    @ApiModelProperty("标签 多个用逗号分开")
    private String tag;

}
